//
//  URLDefine.h
//  NewsReader
//
//  Created by hejinbo on 15/7/7.
//  Copyright (c) 2015年 MyCos. All rights reserved.
//
/*
*IP地址：
*家：192.168.1.102
*公：172.16.20.174
*/
#define ISiPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)
#define adjustISiPhoneX  if (ISiPhoneX) {\
UIView *view = [UIView new];\
view.frame   = CGRectMake(0, 0, ScreenWidth, 40);\
[view setBackgroundColor:[UIColor colorWithRed:82.0 / 255.0  green:180.0 / 255.0 blue:48.0 / 255.0 alpha:1.0]];\
[self.view addSubview:view];\
}
#ifdef DEBUG
#define HJLog(format, ...) NSLog(format, ## __VA_ARGS__)

//#define Base_URL       @"http://192.168.23.4:8080/esop_web/esop/loginapp/userlogin.jsp"
#define Base_URL       @"http://211.138.191.87:9055"

//#define Base_URL       @"http://192.168.254.142:8080/esop_web/esop/loginapp/userlogin.jsp"

// 登录的url

#define LoginURL    [NSString stringWithFormat :@"%@/hswh_webapp/finedo/memberauth/applogin",Base_URL]

// 首页的url
#define shouYePage   [NSString stringWithFormat :@"%@/hswh_webapp/platform/frame/myview.jsp",Base_URL]

#else
#define HJLog(format, ...)


//#define Base_URL       @"http://192.168.23.4:8080/esop_web/esop/loginapp/userlogin.jsp"
#define Base_URL       @"http://211.138.191.87:9055"

//#define Base_URL       @"http://192.168.254.142:8080/esop_web/esop/loginapp/userlogin.jsp"


// 登录的url

#define LoginURL    [NSString stringWithFormat :@"%@/hswh_webapp/finedo/memberauth/applogin",Base_URL]

// 首页的url
#define shouYePage   [NSString stringWithFormat :@"%@/hswh_webapp/platform/frame/myview.jsp",Base_URL]

#endif


